package com.ma.common.dto;


import com.ma.entity.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.ArrayList;
import java.util.List;


@Data
public class SysRoleDto extends BaseEntity {

    private static final long serialVersionUID = 1L;
    @NotBlank(message = "角色名称不能为空")
    private String name;

    @NotBlank(message = "角色编码不能为空")
    private String code;

    /**
     * 备注
     */
    private String remark;


    private List<Long> menuIds = new ArrayList<>();
}
